package com.shiguiwu.springmybatis.spring.lifecycle.allbeaninit;

import org.springframework.beans.factory.SmartInitializingSingleton;
import org.springframework.stereotype.Service;

/**
 * @description: 所有单列bean调用的方法
 * @author: stone
 * @date: Created by 2021/3/28 13:42
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.spring.lifecycle.allbeaninit
 */
@Service
public class MySmartInitializingSingleton implements SmartInitializingSingleton {
    @Override
    public void afterSingletonsInstantiated() {
        //System.out.println("SmartInitializingSingleton#afterSingletonsInstantiated========================");
    }
}
